| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRGetNodeInfo function to get the node information atom container that describes a node and all the hot spots in the node.
OSErr QTVRGetNodeInfo (
QTVRInstance qtvr,
UInt32nodeID,
QTAtomContainer*nodeInfo);
The QTVRGetNodeInfo function returns, in the nodeInfo parameter, a pointer to an atom container that contains information about the node specified by the nodeID parameter in the movie specified by the qtvr parameter. The atom container includes information about all the hot spots contained in that node. You can use the QuickTime atom functions (introduced in QuickTime version 2.1) to extract atoms from that container. You can also use those functions to access the hot spot atom list. All hot spot atoms are contained in the hot spot parent atom.
See the chapter handlink "QuickTime VR File Format" for a description of the format of a node information atom container and its associated atoms for a node.
The node information atom container returned by QTVRGetNodeInfo is a copy of the atom container maintained internally by the QuickTime VR Manager. You should dispose of the node information atom container (by calling the QuickTime function QTDisposeAtomContainer ) when you're finished using it.
handlink "QuickTime VR File Format/Listing 4-3" illustrates how to call the QTVRGetNodeInfo function.
| Previous | Chapter contents | Chapter top | Section top | Next |